
	function openAll(){
		var gids = jQuery("#gId").html();
		var gid = gids.split(";");
		for(var i = 0 ; i < gid.length ; i ++ ){
			if(gid[i] != ''){
				jQuery("#td_classes_grade_"+gid[i]).css("display" , "block");
				jQuery("#grade_"+gid[i]).children("img").attr("src" , "/login/images/list2.gif");
			}
		}
	}


	function closeAll(){
		var gids = jQuery("#gId").html();
		var gid = gids.split(";");
		for(var i = 0 ; i < gid.length ; i ++ ){
			if(gid[i] != ''){
				jQuery("#td_classes_grade_"+gid[i]).css("display" , "none");
				jQuery("#grade_"+gid[i]).children("img").attr("src" , "/login/images/list1.gif");
			}
		}
	}